package com.tanhua.domain.sound;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author To my left is the dog
 * @date 2021/2/28 16:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound_count")
public class SoundCount implements Serializable {
    /*语音发送次数表*/
    //主键
    private ObjectId id;
    //当前用户
    private Long userId;
    //剩余次数
    private Integer remainingTimes;
    //创建时间
    private Long created;
}
